@steps-prefix: ~"@{css-prefix}-steps";
@width: 140px;
@margin: 60px;
@itemHeight: 40px;

.@{steps-prefix} {
  width: 100%;
  &--v {
    flex-direction: column;
  }
  &__container {
    flex-direction: column;
    justify-content: flex-start;
    &--v {
      flex-direction: row;
    }
    &--disappear {
      width: @width;
    }
    &--appear {
      flex: 1;
    }
  }
  &__item {
    align-items: center;
    &--v {
      flex-direction: column;
      width: @itemHeight;
    }
    &--h {
      height: @itemHeight;
    }
  }
  &__icon {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: @steps-default-bg;
    &--active {
      background-color: @steps-icon-bg;
    }
    &--h {
      margin-left: @margin;
    }
  }
  &__content {
    flex-direction: column;
    margin-left: 20px;
    &--h {
      margin-left: 0;
      margin-top: 20px;
      width: @width;
      >text {
        text-align: center;
      }
    }
  }
  &__title {
    font-size: 28px;
    color: @steps-title-color;
  }
  &__desc {
    font-size: 24px;
    color: @steps-desc-color;
  }
  &__line {
    height: 2px;
    width: 100%;
    background-color: @steps-default-bg;
    // margin-left: @margin;
    &--active {
      background-color: @steps-bg-active;
    }
    &--v {
      height: 120px;
      width: 2px;
    }
  }
  &__line--first {
    margin-left: @margin + 5px;
  }
  &__line--last {
    margin-right: @margin;
  }
  &__wrapper {
    height: @itemHeight;
    width: @itemHeight;
    border-radius: @itemHeight;
    justify-content: center;
    align-items: center;
    background-color: @steps-bg-active;
    &--h {
      margin-left: @margin;
    }
  }
  &__img {
    height: 70%;
    width: 70%;
    background-size: 70%;
  }
  &__image {
    width: 60px;
    height: 60px;
    background-size: 60px;
  }
}